package com.yunhe.common.model.authority;

import com.yunhe.common.model.company.Company;
import com.yunhe.common.model.office.Office;

import java.util.List;

/**
 * @Author: DongWenYu
 * @Date: 2021/5/18 17:39
 */
public class RealStation extends Station{

    private Long id;

    private String name;

    private Long code;

    private String title;

    private String abbreviationName;

    private String enterpriseFullName;

    /**属于总的园区*/
//    @Relationship(type = "BELONG_TO_STATION")
    private Station belongToStation;

    private List<Office> officeList;

    /**拥有的厂房*/
//    @Relationship(type = "HAS_OFFICES")
    private List<Office> hasOffices;

    /**拥有的企业*/
//    @Relationship(type = "HAS_COMPANIES")
    private List<Company> hasCompanies;

    public List<Office> getOfficeList() {
        return officeList;
    }

    public void setOfficeList(List<Office> officeList) {
        this.officeList = officeList;
    }

    public String getAbbreviationName() {
        return abbreviationName;
    }

    public void setAbbreviationName(String abbreviationName) {
        this.abbreviationName = abbreviationName;
    }

    @Override
    public String getEnterpriseFullName() {
        return enterpriseFullName;
    }

    @Override
    public void setEnterpriseFullName(String enterpriseFullName) {
        this.enterpriseFullName = enterpriseFullName;
    }

    @Override
    public Long getId() {
        return id;
    }

    @Override
    public void setId(Long id) {
        this.id = id;
    }

    @Override
    public String getName() {
        return name;
    }

    @Override
    public void setName(String name) {
        this.name = name;
    }

    @Override
    public Long getCode() {
        return code;
    }

    @Override
    public void setCode(Long code) {
        this.code = code;
    }

    @Override
    public String getTitle() {
        return title;
    }

    @Override
    public void setTitle(String title) {
        this.title = title;
    }

    public Station getBelongToStation() {
        return belongToStation;
    }

    public void setBelongToStation(Station belongToStation) {
        this.belongToStation = belongToStation;
    }

    public List<Office> getHasOffices() {
        return hasOffices;
    }

    public void setHasOffices(List<Office> hasOffices) {
        this.hasOffices = hasOffices;
    }

    public List<Company> getHasCompanies() {
        return hasCompanies;
    }

    public void setHasCompanies(List<Company> hasCompanies) {
        this.hasCompanies = hasCompanies;
    }
}
